if __name__ == '__main__':
    '''
        语法：
            小括号，多个元素以逗号隔开
            元组：不可变
            元组有索引
    '''
    dogs = ('xiaohuang','xiaobai','xiaolv')
    for i in dogs:
        print(i)

    print('----------------------------------------------------')

    for n in range(0,len(dogs)):
        print(dogs[n])


    res = dogs[::-1]
    print(res)
    print(dogs)